Install Eucalyptus ( node )
|
Build node server.
|
|
[1] | Install some requied packages |
[root@node1 ~]# yum -y install httpd
|
[2] | Change config of Xen. |
[root@node1 ~]# vi /etc/xen/xend-config.sxp # line 17: make valid and change to yes (xend-http-server yes )# line 40: make valid (xend-address localhost) [root@node1 ~]# /etc/rc.d/init.d/xend restart restart xend: [ OK ]
|
[3] | Install Eucalyptus. Get latest one if you get it with wget command. |
[root@node1 ~]# wget -O eucalyptus-1.5.2-centos-x86_64.tar.gz "http://open.eucalyptus.com/downloads/105" [root@node1 ~]# tar zxvf eucalyptus-1.5.2-centos-x86_64.tar.gz [root@node1 ~]# cd eucalyptus-1.5.2-centos-x86_64/eucalyptus-1.5.2-rpm-deps-x86_64 [root@node1 eucalyptus-1.5.2-rpm-deps-x86_64]# rpm -Uvh * Preparing... ################################ [100%]  1:euca-axis2c ################################ [20%]  2:aoetools ################################ [40%]  3:euca-libvirt ################################ [60%]  4:euca-rampartc ################################ [80%]  5:vblade ################################ [100%] [root@node1 eucalyptus-1.5.2-rpm-deps-x86_64]# cd ../ [root@node1 eucalyptus-1.5.2-centos-x86_64]# rpm -Uvh eucalyptus-1.5.2-1.x86_64.rpm eucalyptus-gl-1.5.2-1.x86_64.rpm eucalyptus-nc-1.5.2-1.x86_64.rpm Preparing... ################################ [100%]  1:eucalyptus ################################ [33%]  2:eucalyptus-gl ################################ [67%]  3:eucalyptus-nc ################################ [100%] [root@node1 eucalyptus-1.5.2-centos-x86_64]# [root@node1 ~]# rm -rf eucalyptus-1.5.2-centos-x86_64 [root@node1 ~]# usermod -d /opt/eucalyptus eucalyptus [root@node1 ~]# /etc/rc.d/init.d/eucalyptus-nc start Starting Eucalyptus services: done. [root@node1 ~]# export PATH=$PATH:/opt/eucalyptus/usr/sbin [root@node1 ~]# echo PATH=$PATH:/opt/eucalyptus/usr/sbin >> ~/.bashrc
|